<template>
  <!-- 添加或修改到货发票对话框 -->
  <el-dialog :title="title" :visible.sync="open" width="80%" append-to-body :close-on-click-modal="false" v-dialogDrag>
    <el-form ref="form" :model="form" :rules="rules" label-width="120px">
      <el-tabs v-model="activeName" class="detail-tab" type="card">
        <video width="95%" style="margin-left: 2%" controls>
          <source src="movie.mp4" type="video/mp4">
          <source src="movie.ogg" type="video/ogg">
          您的浏览器不支持 video 标签。
        </video>
      </el-tabs>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button @click="cancel">关 闭</el-button>
    </div>
  </el-dialog>
</template>

<script>
  import { addAction, getById, updateAction } from '@/api/manage';
  import moment from 'moment';

  export default {
    name: "LvFapiaoForm",
    data() {
      return {
        // 遮罩层
        loading: true,
        activeName: "first",
        // 弹出层标题
        title: "",
        // 是否显示弹出层
        open: false,
        // 表单参数
        form: {},
        // 表单校验
        rules: {
        },
        url: {
          getById:'/lvFapiao/lvFapiao/',
        },
      };
    },
    created() {

    },
    methods: {
      // 取消按钮
      cancel() {
        this.open = false;
      },
      /** 新增按钮操作 */
      showShexiangtou() {
        this.open = true;
        this.title = "摄像头";
      },
    }
  };
</script>
